<?php

define("ZCACHE_AGENT_ERR_PARAM", -1);
define("ZCACHE_AGENT_ERR_MCPACK", -2);
define("ZCACHE_AGENT_ERR_MEM", -3);
define("ZCACHE_AGENT_ERR_MCPACK_OP", -4);

define("ZCACHE_OK", 0);
define("ZCACHE_ERR_PARAM", 1);
define("ZCACHE_ERR_NOT_AUTH", 2);
define("ZCACHE_ERR_BUF_NOT_ENOUGH", 3);
define("ZCACHE_ERR_EXIST", 4);
define("ZCACHE_ERR_NOT_EXIST", 5);
define("ZCACHE_ERR_BLOCK_NOT_EXIST", 6);
define("ZCACHE_ERR_PRODUCT_NOT_EXIST", 7);
define("ZCACHE_ERR_BUSY", 8);
define("ZCACHE_ERR_FROZEN_DELETE", 9);
define("ZCACHE_ERR_BLOCK_UPDATED", 10);
define("ZCACHE_ERR_TIMEOUT", 11);
define("ZCACHE_ERR_NET", 12);
define("ZCACHE_ERR_MEM", 13);
define("ZCACHE_ERR_DISK", 14);
define("ZCACHE_ERR_METASERVER", 15);
define("ZCACHE_ERR_CACHESERVER", 16);
define("ZCACHE_ERR_LIB", 17);
define("ZCACHE_ERR_PART_SUC", 18);
define("ZCACHE_ERR_BLOCK_WRONG_STATE", 19);
define("ZCACHE_APIPLUS_INIT_FAIL", 20);
define("ZCACHE_ERR_CREATE_PRDT_FILE", 21);
define("ZCACHE_ERR_PRODUCT_ALREADY_EXIST", 22);

define("ZCACHE_CLIENT_ERR_PARAM", -100);
define("ZCACHE_CLIENT_ERR_CONNECT", -101);
define("ZCACHE_CLIENT_ERR_READ", -102);
define("ZCACHE_CLIENT_ERR_WRITE", -103);
define("ZCACHE_CLIENT_ERR_NSHEAD", -104);
define("ZCACHE_CLIENT_ERR_MCPACK", -105);



